Packetery\Module\Plugin B

Total Complexity 97
Dependencies 73
Dependents 14
Total lines 1,187
Lines of code 558
Logical lines of code 296
Comment lines 183
Methods 32
Properties 37

Methods 32

Method Rating Maintainability Complexity Lines of code
enqueueAdminAssets()
C
34 24 83
run()
A
34 6 101
renderEmailFooter()
A
46 8 40
handleActions()
S
59 5 15
renderDeliveryDetail()
S
50 3 29
renderOrderDetail()
S
53 3 23
hideSubmenuItem()
S
63 4 10
uninstall()
S
65 4 10
enqueueFrontAssets()
S
61 3 12
__construct()
S
46 1 39
cleanUpRepositories()
S
56 2 18
shouldHidePacketaInfo()
S
74 3 4
saveShippingAndPaymentMethodsToSession()
S
66 3 9
echoInactiveWooCommerceNotice()
S
61 2 14
renderConfirmModalTemplate()
S
60 2 14
init()
S
53 1 28
loadTranslation()
S
62 2 11
getLocale()
S
69 2 7
shouldDisplayPickupPointInfo()
S
79 2 3
buildAssetUrl()
S
65 2 8
cleanUpRepositoriesForMultisite()
S
67 2 8
addPluginRowMeta()
S
64 2 9
declareWooCommerceCompability()
S
70 2 6
getSites()
S
66 1 9
isWooCommercePluginActive()
S
80 1 3
add_menu_pages()
S
70 1 7
enqueueStyle()
S
67 1 8
addPluginActionLinks()
S
66 1 7
add_shipping_method()
S
76 1 4
getAppIdentity()
S
77 1 3
enqueueScript()
S
66 1 9
registerCheckoutBlock()
S
71 1 7